package com.itcast.n1_内存调优;

import org.openjdk.jol.info.ClassLayout;

/**
 * @program: jvm
 * @description:
 * @author: flyduck
 * @create: 2024-10-17 14:04
 **/
public class Test20_mat内存检测原理_使用jol验证String对象占用24个字节 {
    public static void main(String[] args) {
        System.out.println(ClassLayout.parseClass(String.class).toPrintable());
    }
}
